package com.homedo.odin.solution.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author: zhaoxudong
 * @date: 2018/4/12 13:34
 * @Description:
 */
@Configuration
@Data
public class PaymentConfigHelper {

    /**
     * 支付系统的ckey
     */
    @Value("${payment.ckey}")
    private String ckey;

    /**
     * 支付宝线上APP支付URL
     */
    @Value("${payment.alipay.app.url}")
    private String alipayAppUrl;


    /**
     * 支付宝线上PC支付URL
     */
    @Value("${payment.alipay.pc.url}")
    private String alipayPcUrl;

    /**
     * 银联B2C支付线上PC支付URL
     */
    @Value("${payment.unionpay.b2c.pc.url}")
    private String unionpayB2CPcUrl;

    /**
     * 银联B2B支付线上PC支付URL
     */
    @Value("${payment.unionpay.b2b.pc.url}")
    private String unionpayB2BPcUrl;

    /**
     * 微信线上PC支付URL
     */
    @Value("${payment.wxpay.pc.url}")
    private String wxpayPcUrl;

    /**
     * 微信支付url传参
     */
    @Value("${payment.redirect.url}")
    private String redirectUrl;
}
